
// 登录表单
export const rules = {
    username: [{
        required: true,
        message: '请输入用户名',
        trigger: 'blur',
    }, {
        min: 3,
        message: 'Length should > 3',
        trigger: 'blur',
    }],
    password: [{
        required: true,
        message: '请输入密码',
        trigger: 'blur',
    }, {
        min: 6,
        message: 'Length should be > 6',
        trigger: 'blur',
    }]
}